// 自动生成模板EpidemicInvestigationDetails
package epidemic

import (
	"time"
)

// EpidemicInvestigationDetails 结构体
type EpidemicInvestigationDetails struct {
	ID               uint       `gorm:"primarykey" json:"id" form:"id"` // 主键ID
	RelatedFormId    uint       `json:"relatedFormId" form:"relatedFormId" gorm:"column:related_form_id;comment:关联疫情筛查表id;size:10;"`
	Mobile           string     `json:"mobile" form:"mobile" gorm:"column:mobile;comment:手机号;size:20;"`
	Status           string     `json:"status" form:"status" gorm:"column:status;comment:登记状态：字典值;size:50;"`
	Abnormal         string     `json:"abnormal" form:"abnormal" gorm:"column:abnormal;comment:是否异常;size:50;"`
	Remarks          string     `json:"remarks" form:"remarks" gorm:"column:remarks;comment:备注;"`
	ReporteTime      *time.Time `json:"reporteTime" form:"reporteTime" gorm:"column:reporte_time;comment:上报时间;"`
	UpdateTime       *time.Time `json:"updateTime" form:"updateTime" gorm:"column:update_time;comment:更新时间;"`
	Answer           string     `json:"answer" form:"answer" gorm:"column:answer;"`
	SpecialSituation string     `json:"specialSituation" form:"specialSituation" gorm:"column:special_situation;"`
}
type EpidemicInvestigationDetailsResult struct {
	ID            uint       `gorm:"primarykey" json:"id" form:"id"` // 主键ID
	RelatedFormId uint       `json:"relatedFormId" form:"relatedFormId"`
	Mobile        string     `json:"mobile" form:"mobile"`
	Name          string     `json:"name" form:"name"`
	Title         string     `json:"title" form:"title"`
	Status        string     `json:"status" form:"status"`
	Abnormal      string     `json:"abnormal" form:"abnormal"`
	Company       string     `json:"company" form:"company"`
	Department    string     `json:"department" form:"department"`
	Organization  string     `json:"organization" form:"organization"`
	Remarks       string     `json:"remarks" form:"remarks"`
	ReporteTime   *time.Time `json:"reporteTime" form:"reporteTime"`
	UpdateTime    *time.Time `json:"updateTime" form:"updateTime"`
	Location      string     `json:"location" form:"location"`
}

// TableName EpidemicInvestigationDetails 表名
func (EpidemicInvestigationDetails) TableName() string {
	return "epidemic_investigation_details"
}
